<%--
  Created by IntelliJ IDEA.
  User: ylq
  Date: 2017/6/13
  Time: 17:08
  To change this template use File | Settings | File Templates.
--%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/userinfo/updatepwd.css"/>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="container">
    <div class="row main">
        <div class="panel-heading">
            <div class="panel-title text-center">
                <h1 class="title"></h1>
                <hr/>
            </div>
        </div>
        <div class="main-login main-center">
            <form class="form-horizontal" id="updatepwdForm">
                <div class="form-group">
                    <label for="password" class="cols-sm-2 control-label">新密码</label>
                    <div class="cols-sm-10">
                        <div class="input-group">
                            <span class="input-group-addon"><i class="fa fa-lock fa-lg" aria-hidden="true"></i></span>
                            <input type="password" class="form-control" name="password" id="password"
                                   placeholder="新密码"/>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="confirm" class="cols-sm-2 control-label">新密码确认</label>
                    <div class="cols-sm-10">
                        <div class="input-group">
                            <span class="input-group-addon"><i class="fa fa-lock fa-lg" aria-hidden="true"></i></span>
                            <input type="password" class="form-control" name="confirm" id="confirm"
                                   placeholder="新密码确认"/>
                        </div>
                    </div>
                </div>
                <%--<div class="login-register">--%>
                <%--<a href="index.php">Login</a>--%>
                <%--</div>--%>
            </form>
            <div class="form-group ">
                <button type="button" id="updatepassword" class="btn btn-primary btn-lg btn-block login-button"
                        data-href="${pageContext.request.contextPath}/retrievePasswd/update">确定
                </button>
            </div>
            <br>
            <div class="text-right" style="cursor: pointer">
                <a href="${pageContext.request.contextPath}/retrievepwd">忘记密码</a> <span>|</span>
            </div>
        </div>
    </div>
</div>

<!-- Modal 通用提示消息模态框-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel" style="text-align:center;"></h4>
            </div>
            <div class="modal-body"></div>
        </div>
    </div>
</div>

<script src="${pageContext.request.contextPath}/js/retrievepwd/retrievepwd.js">
</script>